[paket]
tanim   = Bir iPod'un içeriğine erişmek için paylaşılan bir kitaplık
paketci = Cihan_Alkan
grup    = kütüphane
url     = http://www.gtkpod.org/libgpod/

[gerek]
derleme    =   libplist
calisma    =

[kaynak]
bz2      = https://downloads.sourceforge.net/sourceforge/gtkpod
1 = https://github.com/archlinux/svntogit-packages/raw/packages/libgpod/trunk/libgpod-0.8.2-pkgconfig_overlinking.patch
2 = https://github.com/archlinux/svntogit-packages/raw/packages/libgpod/trunk/libgpod-fixswig.patch
3 = https://github.com/archlinux/svntogit-packages/raw/packages/libgpod/trunk/0001-323-Segmentation-fault-when-opening-ipod.patch
4 = https://github.com/archlinux/svntogit-packages/raw/packages/libgpod/trunk/libgpod-udev.patch


[sha256]
#1          = 5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f


[derle]
betik      = patch -Np1 -i /sources/libgpod-0.8.2-pkgconfig_overlinking.patch
betik      = patch -Np1 -i /sources/libgpod-fixswig.patch
betik      = patch -Np1 -i /sources/0001-323-Segmentation-fault-when-opening-ipod.patch
betik      = patch -Np0 -i /sources/libgpod-udev.patch
betik      = sed -e 's|libplist >= 1.0|libplist-2.0 >= 2.2|' -i configure.ac # support libplist 2.2
betik      =  autoreconf -vi
betik      = MCS=/usr/bin/mcs ./configure --prefix=/usr --with-udev-dir=/usr/lib/udev --enable-udev --with-python=no
betik      = make PREFIX=/usr
betik      = sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

[pakur]
betik      = cd $isim
betik      = make PREFIX=/usr DESTDIR="${PKG}" install
